Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODValueNameSpace


Register

The Register method adds a new entry to this value name space.

void Register (in ODISOStr key,
               in ODByteArray value);
key
The key for the new entry.
value
A byte array whose buffer contains the value to associate with the key.
DISCUSSION
This method copies both the key and the value parameter's buffer into a new entry in the name space. If the specified key already exists within this name space, this method overwrites the old value with the new one and deallocates the memory used by the old value.

SEE ALSO
The ODByteArray type (page 877)
The ODISOStr type (page 875)
The ODNameSpace::Unregister method (page 433).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help